#pragma once
#include <ostream>
class String
{
public:
	String(const char* str);
	String(const String& str);
	String& operator=(const String& str);
	char* str() const { return str_; }
	friend std::ostream& operator<< (std::ostream&, const String&);
	~String() {
		delete[] str_;
	}

private:
	char* str_;
};

